build:
	rm -rf ./output/*
	pdflatex -output-directory ./output "Level 4 Project - Michael Dyson.tex"
	bibtex output/"Level 4 Project - Michael Dyson.aux"
	pdflatex -output-directory ./output "Level 4 Project - Michael Dyson.tex"
	pdflatex -output-directory ./output "Level 4 Project - Michael Dyson.tex"
	svn commit -m "Dissertation update"
	texcount.pl -total -inc "Level 4 Project - Michael Dyson.tex"
clean:
	rm -f *~ ./output/*.aux ./output/*.blg ./output/*.log ./output/*.bbl ./output/*.out ./output/*.toc
cleanall:
	rm -rf ./output/* *~
spell:
	hunspell -t -d en_GB *.tex
local:
	rm -rf ./output/*
	pdflatex -output-directory ./output "Level 4 Project - Michael Dyson.tex"
	bibtex output/"Level 4 Project - Michael Dyson.aux"
	pdflatex -output-directory ./output "Level 4 Project - Michael Dyson.tex"
	pdflatex -output-directory ./output "Level 4 Project - Michael Dyson.tex"
	texcount.pl -total -inc "Level 4 Project - Michael Dyson.tex"
